#########################################
#         File name   :caffe-install.sh
#         Author      :kangkangliang
#         File desc   :
#         Mail        :liangkangkang@paag.com
#         Create time :2016-07-28
#########################################
#!/usr/bin/bash

sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
sudo apt-get install --no-install-recommends libboost-all-dev
sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
sudo apt-get install --no-install-recommends libboost-all-dev
sudo apt-get install libatlas-base-dev
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev
#compile caffe
# manal exec
#modify makefile
#make all
#make test
# make runtest
#test ex:
#./examples/mninst/getdata.sh
#./examples/
#
#cd $CAFFE_ROOT
#./data/mnist/get_mnist.sh
#./examples/mnist/create_mnist.sh
#cd $CAFFE_ROOT
#./examples/mnist/train_lenet.sh
